<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<s:form id="book_type_form" namespace="/control/mapping" action="type_bookTypeMap">
			<input type="hidden" name="ftlName" value="${ftlName}"/>
			<input type="hidden" name="htmlName" value="${htmlName}"/>
			<ul>
				<s:iterator value="types"  var="book_type">
					<li>
						<h2>
							<input type="checkbox" name="navigationType" value="${book_type.id}">
							${book_type.name }
						</h2>
						<s:iterator value="#book_type.types" var="book_type_childs">
							<a href="#">${book_type_childs.name}</a>|
						</s:iterator>
					</li>
				</s:iterator>
				<li>
					<input type="button" value="生成静态的HTML页面"   
					onclick="ajaxFormSubmit('#main_content','#book_type_form')"/>
				</li>
			</ul>
		</s:form>
	</body>
</html>